Severity: Notice
Message: Trying to get property 'id_tema_1' of non-object
Filename: frontend/Productos.php
Line Number: 108
Backtrace:
File: /home/booklib/public_html/application/controllers/frontend/Productos.php
Line: 108
Function: _error_handler
File: /home/booklib/public_html/index.php
Line: 317
Function: require_once
Severity: Notice
Message: Trying to get property 'id_tema_1' of non-object
Filename: frontend/Productos.php
Line Number: 112
Backtrace:
File: /home/booklib/public_html/application/controllers/frontend/Productos.php
Line: 112
Function: _error_handler
File: /home/booklib/public_html/index.php
Line: 317
Function: require_once
Severity: Notice
Message: Trying to get property 'id_tema_1' of non-object
Filename: frontend/Productos.php
Line Number: 114
Backtrace:
File: /home/booklib/public_html/application/controllers/frontend/Productos.php
Line: 114
Function: _error_handler
File: /home/booklib/public_html/index.php
Line: 317
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/booklib/public_html/system/core/Exceptions.php:272)
Filename: core/Common.php
Line Number: 571
Backtrace:
File: /home/booklib/public_html/application/models/frontend/Productos_model.php
Line: 231
Function: query
File: /home/booklib/public_html/application/controllers/frontend/Productos.php
Line: 114
Function: getProRelacionados
File: /home/booklib/public_html/index.php
Line: 317
Function: require_once
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'IN (id_tema_1, id_tema_2, id_tema_3, id_tema_4) AND estado='A' AND id!='men' ...' at line 1
SELECT * FROM productos WHERE IN (id_tema_1, id_tema_2, id_tema_3, id_tema_4) AND estado='A' AND id!='men' ORDER BY titulo LIMIT 12
Filename: models/frontend/Productos_model.php
Line Number: 231